<?php

namespace app\common\model;

use think\Model;
use app\common\model\Base;

class GoodsEvaluate extends Base {

    public function model_where($wheres = []) {

        $this->join('member m', 'm.id = a.member_id', 'LEFT');

        $this->alias('a');

        $this->field('a.*,m.nickname,m.avatar');

        $this->order('a.id desc');
        
        return $this;
    }

}
